package dao;

import domain.Topic;

import java.util.List;

public interface TopicDao {
    List<Topic> getAllTopic();
    public int deleteTopicByTid(int tid);
    public int modifyTopicByTid(int tid,String tname);
    public int addTopic(String tname);
    public int countTopic();
}
